package com.shop.admin.vo;

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.experimental.Accessors;

import java.util.List;

@Data
@Accessors(chain = true)
@AllArgsConstructor
@NoArgsConstructor
public class CategoryUnderProductsVo {
    private Long categoryId;
    private String categoryName;
    private List<ProductsVo> ProductsVos;

    @Data
    @Accessors(chain = true)
    @AllArgsConstructor
    @NoArgsConstructor
    public static class ProductsVo{
        private Long productsId;
        private String productsName;
    }
}
